From: Tomi Valkeinen Date: Fri, 3 May 2013 08:35:43 +0000 (+0300) Subject: OMAPDSS: omapdss.h: add owner field to omap_dss_device X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~8456^2~3^2~10 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=4f3e44ea07eafb5252e8414ae4f75f749e1729de;p=linux-4.9.git OMAPDSS: omapdss.h: add owner field to omap_dss_device Add struct module *owner field to omap_dss_device, which points to the module containing the ops for this omap_dss_device. This will be used to manage the ref count for the module. Signed-off-by: Tomi Valkeinen --- diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 8e5035a54544..d667a4a78a49 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -579,6 +579,8 @@ struct omap_dss_device { /* new device, pointer to panel device */ struct device *dev; + struct module *owner; + struct list_head panel_list; /* alias in the form of "display%d" */